﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200058F RID: 1423
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishCurTurnScRsp : IMessage<FinishCurTurnScRsp>, IMessage, IEquatable<FinishCurTurnScRsp>, IDeepCloneable<FinishCurTurnScRsp>, IBufferMessage
	{
		// Token: 0x17001241 RID: 4673
		// (get) Token: 0x06003FF5 RID: 16373 RVA: 0x000AF578 File Offset: 0x000AD778
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishCurTurnScRsp> Parser
		{
			get
			{
				return FinishCurTurnScRsp._parser;
			}
		}

		// Token: 0x17001242 RID: 4674
		// (get) Token: 0x06003FF6 RID: 16374 RVA: 0x000AF57F File Offset: 0x000AD77F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishCurTurnScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001243 RID: 4675
		// (get) Token: 0x06003FF7 RID: 16375 RVA: 0x000AF591 File Offset: 0x000AD791
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishCurTurnScRsp.Descriptor;
			}
		}

		// Token: 0x06003FF8 RID: 16376 RVA: 0x000AF598 File Offset: 0x000AD798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishCurTurnScRsp()
		{
		}

		// Token: 0x06003FF9 RID: 16377 RVA: 0x000AF5A0 File Offset: 0x000AD7A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishCurTurnScRsp(FinishCurTurnScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.cEOHKDINAHE_ = other.cEOHKDINAHE_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003FFA RID: 16378 RVA: 0x000AF5D1 File Offset: 0x000AD7D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishCurTurnScRsp Clone()
		{
			return new FinishCurTurnScRsp(this);
		}

		// Token: 0x17001244 RID: 4676
		// (get) Token: 0x06003FFB RID: 16379 RVA: 0x000AF5D9 File Offset: 0x000AD7D9
		// (set) Token: 0x06003FFC RID: 16380 RVA: 0x000AF5E1 File Offset: 0x000AD7E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001245 RID: 4677
		// (get) Token: 0x06003FFD RID: 16381 RVA: 0x000AF5EA File Offset: 0x000AD7EA
		// (set) Token: 0x06003FFE RID: 16382 RVA: 0x000AF5F2 File Offset: 0x000AD7F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CEOHKDINAHE
		{
			get
			{
				return this.cEOHKDINAHE_;
			}
			set
			{
				this.cEOHKDINAHE_ = value;
			}
		}

		// Token: 0x06003FFF RID: 16383 RVA: 0x000AF5FB File Offset: 0x000AD7FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishCurTurnScRsp);
		}

		// Token: 0x06004000 RID: 16384 RVA: 0x000AF609 File Offset: 0x000AD809
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishCurTurnScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.CEOHKDINAHE == other.CEOHKDINAHE && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004001 RID: 16385 RVA: 0x000AF648 File Offset: 0x000AD848
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.CEOHKDINAHE != 0U)
			{
				num ^= this.CEOHKDINAHE.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004002 RID: 16386 RVA: 0x000AF6A0 File Offset: 0x000AD8A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004003 RID: 16387 RVA: 0x000AF6A8 File Offset: 0x000AD8A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004004 RID: 16388 RVA: 0x000AF6B4 File Offset: 0x000AD8B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CEOHKDINAHE != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.CEOHKDINAHE);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004005 RID: 16389 RVA: 0x000AF710 File Offset: 0x000AD910
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.CEOHKDINAHE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CEOHKDINAHE);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004006 RID: 16390 RVA: 0x000AF768 File Offset: 0x000AD968
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishCurTurnScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.CEOHKDINAHE != 0U)
			{
				this.CEOHKDINAHE = other.CEOHKDINAHE;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004007 RID: 16391 RVA: 0x000AF7B8 File Offset: 0x000AD9B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004008 RID: 16392 RVA: 0x000AF7C4 File Offset: 0x000AD9C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.CEOHKDINAHE = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400193E RID: 6462
		private static readonly MessageParser<FinishCurTurnScRsp> _parser = new MessageParser<FinishCurTurnScRsp>(() => new FinishCurTurnScRsp());

		// Token: 0x0400193F RID: 6463
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001940 RID: 6464
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04001941 RID: 6465
		private uint retcode_;

		// Token: 0x04001942 RID: 6466
		public const int CEOHKDINAHEFieldNumber = 3;

		// Token: 0x04001943 RID: 6467
		private uint cEOHKDINAHE_;
	}
}
